package com.treasure.web.mapstruct;

import com.treasure.web.command.response.ConversationListResponse;
import com.treasure.web.command.response.CorpChatHistoryDetailResponse;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author sunhongmin
 * @date 2024/1/14 13:40
 * @description
 */
@Mapper
public interface ConversationDetailAssembler {
    ConversationDetailAssembler INSTANCE = Mappers.getMapper(ConversationDetailAssembler.class);

    List<CorpChatHistoryDetailResponse> convert(List<ConversationListResponse> conversationList);
}
